HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/shaping-sar.ru/public_html/wp-content/themes/beauty spa/includes/OverrideWidgets.php
<?php
class OverrideWidgets {
	static function vossen_jubi_get_search_form($echo = true) {
		$format = current_theme_supports ( 'html5', 'search-form' ) ? 'html5' : 'xhtml';
		$format = apply_filters ( 'search_form_format', $format );
		
		if ('html5' == $format) {
			$form = ' <div class="widget-search"><form role="search" method="get" class="search-form" action="' . esc_url ( home_url ( '/' ) ) . '">
			 <div class="input-group">
			<input type="search" class="form-control search-input" placeholder="' . esc_attr_x ( 'Search &hellip;', 'placeholder' ) . '" value="' . get_search_query () . '" name="s" title="' . esc_attr_x ( 'Search for:', 'label' ) . '" />
			<span class="input-group-btn">
                                    <button class="btn btn-default search-button" type="submit">
					<i class="fa fa-search"></i>
                                    </button>
                                </span>
			</div>
			</form></div>';
		} else {
			$form = ' <div class="widget-search"><form role="search" method="get" id="searchform" class="searchform" action="' . esc_url ( home_url ( '/' ) ) . '">
			 <div class="input-group">
			<input type="text" class="form-control search-input" placeholder="' . esc_attr_x ( 'Search &hellip;', 'placeholder' ) . '" value="' . get_search_query () . '" name="s" id="s" />
			 <span class="input-group-btn">
                                    <button class="btn btn-default search-button" type="submit">
					<i class="fa fa-search"></i>
                                    </button>
                                </span>
			</div>
			</form></div>';
		}
		
		return $form;
	}
}